package com.hzjq.core.convert

import com.hzjq.core.bean.CapEntity
import com.hzjq.core.loader.OnCapUidConvertLoader

class DefaultCapUidConvertor : OnCapUidConvertLoader {

    override fun convert(cap: CapEntity): String {
        return cap.uid
    }

    override fun restore(cap: CapEntity): String {
        return cap.convertUid
    }
}